package com.fire.control.system.module.company.service;

import org.springframework.data.domain.Pageable;

import com.fire.control.system.standard.BusinessInterfaceStandard;
import com.fire.control.system.support.protocol.comman.ResponseProtocol;
import com.fire.control.system.support.protocol.user.CpRequestProtocol;

/**
 * @author liuxincheng
 * @ClassName: IChargePersonService
 * @Description: TODO(负责人业务层)
 * @date 2017年5月11日 上午9:32:19
 */
public interface IChargePersonService extends BusinessInterfaceStandard<CpRequestProtocol, ResponseProtocol> {

	/**
	 * @author  liuxincheng
	 * @Title: getChargePersonList
	 * @Description: TODO(获得负责人列表)
	 * @param @param requestProtocol
	 * @param @param p
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型
	 * @throws null
	 */
	public ResponseProtocol getChargePersonList(CpRequestProtocol requestProtocol,Pageable p);
	
	/**
	 * @author  liuxincheng
	 * @Title: getListByCondition
	 * @Description: TODO(根据条件获得企业列表)
	 * @param @param requestProtocol
	 * @param @param p
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型
	 * @throws null
	 */
	public ResponseProtocol getListByCondition(CpRequestProtocol requestProtocol,Pageable p);
	
	/**
	 * @author  liuxincheng
	 * @Title: saveChagePerson
	 * @Description: TODO(添加负责人)
	 * @param @param requestProtocol
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型
	 * @throws null
	 */
	public ResponseProtocol saveChagePerson(CpRequestProtocol requestProtocol);
	
	/**
	 * @author  liuxincheng
	 * @Title: updateChagePerson
	 * @Description: TODO(修改负责人)
	 * @param @param requestProtocol
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型
	 * @throws
	 */
	public ResponseProtocol updateChagePerson(CpRequestProtocol requestProtocol);
	
	/**
	 * @author  liuxincheng
	 * @Title: deleteChagePerson
	 * @Description: TODO(删除负责人)
	 * @param @param requestProtocol
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型
	 * @throws null
	 */
	public ResponseProtocol deleteChagePerson(CpRequestProtocol requestProtocol);
	
	/**
	 * @author  liuxincheng
	 * @Title: openChagePerson
	 * @Description: TODO(启用或关闭负责人)
	 * @param @param requestProtocol
	 * @param @return    设定文件
	 * @return ResponseProtocol    返回类型
	 * @throws
	 */
	public ResponseProtocol switchChagePerson(CpRequestProtocol requestProtocol);
}
